package com.beiming.moudle.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //生成有参构造器
@NoArgsConstructor //生成无参构造器
@TableName("order_cart")
public class ShopCarEntity {
    @TableId
    private Integer cartId;
    private Integer customerId;
    private Integer productId;
    private Integer productNum;
    @TableField(exist = false)
    private String productName;
    @TableField(exist = false)
    private String bussinessName;
    @TableField(exist = false)
    private Double price;

}
